#
# HoI - USSR Events
#
#		written by Henrik Fhraeus
#

#########################################################################
#  The Molotov-Ribbentrop Pact - Historical Pact
#########################################################################
event = {
	id = 2600
	random = no
	country = SOV
	
	# Triggered by GER 2050
	
	name = "EVT_2600_NAME"
	desc = "EVT_2600_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2600A" # A Most Excellent Proposition
		command = { type = trigger which = 2013 } # GER


		# Estonia
		command = { type = addcore which = 707 }
		
		# Latvia
		command = { type = addcore which = 708 }
		command = { type = addcore which = 709 }
		command = { type = addcore which = 712 }
		command = { type = addcore which = 713 }
		
		# Lithuania
		command = { type = addcore which = 714 }
		command = { type = addcore which = 715 }
		
		# Bessarabia
		command = { type = addcore which = 763 }
		command = { type = addcore which = 767 }
		
		# Claims on Finland
		command = { type = addcore which = 787 }
		command = { type = addcore which = 803 }
		command = { type = addcore which = 821 }
	}
	action_b = {
		name = "ACTIONNAME2600B" # No deals with the enemies of the Workers!
		command = { type = trigger which = 2014 } # GER
		#	command = { type = hate which = GER value = 10 } #TODO_add the commands and system#
	}
	action_c = {
		name = "ACTIONNAME2600C" # Propose an unholy alliance
		command = { type = trigger which = 2015 } # GER
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Limited Pact
#########################################################################
event = { 
	id = 2601
	random = no
	country = SOV
	
	# Triggered by GER 2050
	
	name = "EVT_2601_NAME"
	desc = "EVT_2601_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2601A" # Acceptable, but just barely
		command = { type = trigger which = 2016 } # GER
	}
	action_b = {
		name = "ACTIONNAME2601B" # No deals with the enemies of the Workers!
		command = { type = trigger which = 2017 } # GER
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Full Alliance
#########################################################################
event = { 
	id = 2602
	random = no
	country = SOV
	
	# Triggered by GER 2015
	
	name = "EVT_2602_NAME"
	desc = "EVT_2602_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Let the world tremble!
		
		# Estonia
		command = { type = addcore which = 707 }
		
		# Latvia
		command = { type = addcore which = 708 }
		command = { type = addcore which = 709 }
		command = { type = addcore which = 712 }
		command = { type = addcore which = 713 }
		
		# Lithuania
		command = { type = addcore which = 714 }
		command = { type = addcore which = 715 }
		
		# Bessarabia
		command = { type = addcore which = 763 }
		command = { type = addcore which = 767 }
		
		# Claims on Finland
		command = { type = addcore which = 787 }
		command = { type = addcore which = 803 }
		command = { type = addcore which = 821 }
		command = { type = dissent value = 10 }
		command = { type = alignment which = communist value = -40 }
		command = { type = alignment which = fascist value = 40 }
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - No Full Alliance
#########################################################################
event = { 
	id = 2603
	random = no
	country = SOV
	
	# Triggered by GER 2015
	
	name = "EVT_2603_NAME"
	desc = "EVT_2603_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Too bad
		
		# Estonia
		command = { type = addcore which = 707 }
		
		# Latvia
		command = { type = addcore which = 708 }
		command = { type = addcore which = 709 }
		command = { type = addcore which = 712 }
		command = { type = addcore which = 713 }
		
		# Lithuania
		command = { type = addcore which = 714 }
		command = { type = addcore which = 715 }
		
		# Bessarabia
		command = { type = addcore which = 763 }
		command = { type = addcore which = 767 }
		
		# Claims on Finland
		command = { type = addcore which = 787 }
		command = { type = addcore which = 803 }
		command = { type = addcore which = 821 }
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Eastern Poland to USSR
#########################################################################
event = { 
	id = 2604
	random = no
	country = SOV
	
	# Triggered by GER 2018
	
	name = "EVT_2604_NAME"
	desc = "EVT_2604_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Great!
		command = { type = dissent value = -5 }
		command = { type = oilpool value = -10000 }
		command = { type = supplies value = 5000 }
		command = { type = manpower value = -50 }
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Germany dishonors the pact
#########################################################################
event = { 
	id = 2605
	random = no
	country = SOV
	
	# Triggered by GER 2018
	
	name = "EVT_2605_NAME"
	desc = "EVT_2605_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2605A" # We shall never forget this!
		command = { type = dissent value = 5 }
		#	command = { type = hate which = GER value = 15 } #TODO_add the commands and system#
	}
	action_b = {
		name = "ACTIONNAME2605B" # This means war!
		command = { type = war which = GER }
            command = { type = dissent value = -10 }
	}
}
#########################################################################
#  Claim Bessarabia
#########################################################################
event = { 
	id = 2606
	random = no
	country = SOV
	
	trigger = {
		event = 2604 # Eastern Poland has been given to the USSR
		OR = { 
			event = 2013  # Bessarabia recognized as Soviet territory by Germany
			event = 2015
		}
		exists = ROM
		NOT = {
			OR = {
				war = { country = ROM country = SOV }
				war = { country = GER country = SOV }
			}
		}
		NOT = {
			control = { province = 767 data = SOV }  
			control = { province = 763 data = SOV }  
		}
	}
	
	name = "EVT_2606_NAME"
	desc = "EVT_2606_DESC"
	style = 0
	
	date = { day = 26 month = june year = 1940 }
	
	action_a = {
		name = "ACTIONNAME2606A" # Claim Bessarabia
		command = { type = trigger which = 2700 } # ROM
	}
	action_b = {
		name = "ACTIONNAME2606B" # The Romanians are our friends
		command = { }
	}
}
#########################################################################
#  Claim Bessarabia - Done
#########################################################################
event = { 
	id = 2607
	random = no
	country = SOV
	
	# Triggered by ROM 2700
	
	name = "EVT_2607_NAME"
	desc = "EVT_2607_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Excellent!
		command = { }
	}
}
#########################################################################
#  Claim Bessarabia - the Romanians Fight!
#########################################################################
event = { 
	id = 2608
	random = no
	country = SOV
	
	# Triggered by ROM 2700
	
	name = "EVT_2608_NAME"
	desc = "EVT_2608_DESC"
	style = 0
	
	action_a = {
		name = "OK" # They will rue this day...
		command = { }
	}
}
#########################################################################
#  The Great Officer Purge Begins
#########################################################################
event = { 
	id = 2609
	random = no
	country = SOV
	
	name = "EVT_2609_NAME"
	desc = "EVT_2609_DESC"
	style = 0
	
	date = { day = 1 month = march year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2609A" # Purge the traitors!
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
	}
	action_b = {
		name = "ACTIONNAME2609B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}

#########################################################################
#  The Great Officer Purge
#########################################################################
event = { 
	id = 2610
	random = no
	country = SOV
	
	name = "EVT_2610_NAME"
	desc = "EVT_2610_DESC"
	style = 0
	
	date = { day = 1 month = june year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2610A" # Purge the traitors!
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
	}
	action_b = {
		name = "ACTIONNAME2610B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}
#########################################################################
#  The Great Officer Purge
#########################################################################
event = { 
	id = 2611
	random = no
	country = SOV
	
	name = "EVT_2611_NAME"
	desc = "EVT_2611_DESC"
	style = 0
	
	date = { day = 1 month = august year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2611A" # Purge the traitors!
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
	}
	action_b = {
		name = "ACTIONNAME2611B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}
#########################################################################
#  The Great Officer Purge
#########################################################################
event = { 
	id = 2612
	random = no
	country = SOV
	
	name = "EVT_2612_NAME"
	desc = "EVT_2612_DESC"
	style = 0
	
	date = { day = 1 month = november year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2612A" # Purge the traitors!
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
	}
	action_b = {
		name = "ACTIONNAME2612B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}

#########################################################################
#  The Finnish Winter War
#########################################################################
event = { 
	id = 2620
	random = no
	country = SOV
	
	trigger = {
		exists = FIN
		NOT = {
			exists = POL
			OR = {
				war = { country = FIN country = SOV }
				war = { country = GER country = SOV }
				alliance = { country = FIN country = SOV }
				control = { province = 787 data = SOV }  
				control = { province = 803 data = SOV } 
				control = { province = 821 data = SOV } 
				ispuppet = FIN
				ispuppet = SOV
			}
		}
	}
	
	name = "EVT_2620_NAME"
	desc = "EVT_2620_DESC"
	style = 0
	
	date = { day = 13 month = november year = 1939 }
	offset = 5
	deathdate = { day = 28 month = january year = 1940 }
	
	action_a = {
		name = "ACTIONNAME2620A" # Press claims
		command = { type = trigger which = 3200 } # FIN
	}
	action_b = {
		name = "ACTIONNAME2620B" # Leave them be
		command = { }
	}
}

#########################################################################
#  The Finnish Winter War - Demands rejected
#########################################################################
event = { 
	id = 2621
	random = no
	country = SOV
	
	# Triggered by FIN 3200
	
	name = "EVT_2621_NAME"
	desc = "EVT_2621_DESC"
	style = 0
		
	action_a = {
		name = "OK" # This means War!
		command = { type = war which = FIN }
	}
}

#########################################################################
#  The Finnish Winter War - Finland gives in
#########################################################################
event = { 
	id = 2622
	random = no
	country = SOV
	
	# Triggered by FIN 3200
	
	name = "EVT_2622_NAME"
	desc = "EVT_2622_DESC"
	style = 0
		
	action_a = {
		name = "OK" # Excellent!
		command = { type = influence value = 3 }
	}
}
#########################################################################
#  Spanish Civil War - Intervention
#########################################################################
event = { 
	id = 2623
	random = no
	country = SOV
	
	# Triggered by SPA 3001
	
	name = "EVT_2623_NAME"
	desc = "EVT_2623_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2623A" # Send materiel and volunteers
		command = { type = manpowerpool value = -30 }
		command = { type = supplies value = -2500 }
		command = { type = trigger which = 3102 } #SPR
		command = { type = trigger which = 3721 } #USA
	}
	action_b = {
		name = "ACTIONNAME2623B" # Why support anarchist rabble?
		command = { type = dissent value = 5 }
	}
}

#########################################################################
#  Sue for peace with the Germans
#########################################################################
event = { 
	id = 2624
	random = no
	country = SOV
	
	trigger = {
		war = { country = GER country = SOV }
		random = 5
		control = { province = 527 data = GER } # Paris is not free
		NOT = {
				control = { province = 788 data = SOV } # Leningrad has fallen
				control = { province = 1225 data = SOV } # Stalingrad has fallen
				control = { province = 846 data = SOV } # Moscow has fallen
				control = { province = 1359 data = SOV } # Baku has fallen
				control = { province = 1371 data = SOV } # Magnitogorsk has fallen
				alliance = { country = GER country = JAP }
				war = { country = GER country = ITA } # To avoid exploits
			}		
		   }
	
	name = "EVT_2624_NAME"
	desc = "EVT_2624_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2624A" # We surrender! Just let us keep what we still have.
		command = { type = trigger which = 2024 } # GER
	}
	action_b = {
		name = "ACTIONNAME2624B" # Fight to the bitter end!
		command = { type = dissent value = 30 }
	}
}
#########################################################################
#  Sue for peace with the Germans (Japan wants a bigger slice)
#########################################################################
event = { 
	id = 2645
	random = no
	country = SOV
	
	trigger = {
		war = { country = GER country = SOV }
		alliance = { country = GER country = JAP }
		control = { province = 527 data = GER } # Paris is not free
		random = 5
		NOT = {
				control = { province = 788 data = SOV } # Leningrad has fallen
				control = { province = 1225 data = SOV } # Stalingrad has fallen
				control = { province = 846 data = SOV } # Moscow has fallen
				control = { province = 1359 data = SOV } # Baku has fallen
				control = { province = 1663 data = SOV } # Vladivostok
			}		
	}
	
	name = "EVT_2624_NAME"
	desc = "EVT_2624_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2624A" # We surrender! Just let us keep what we still have.
		command = { type = trigger which = 2046 } # GER
	}
	action_b = {
		name = "ACTIONNAME2624B" # Fight to the bitter end!
		command = { type = dissent value = 30 }
	}
}

##########################################################################
#  The Bitter Peace - Japan is not Axis
##########################################################################
event = { 
	id = 2625
	random = no
	country = SOV
	
	# Triggered by GER 2024
	
	name = "EVT_2625_NAME"
	desc = "EVT_2625_DESC"
	style = 0
	
	action_a = {
		name = "OK"

 
				
                      	# Secede the west of Urals to Germany
                                command = { type = secedeprovince which = GER value = 865 }
                                command = { type = secedeprovince which = GER value = 864 }
                                command = { type = secedeprovince which = GER value = 863 }
                                command = { type = secedeprovince which = GER value = 862 }
                                command = { type = secedeprovince which = GER value = 861 }
                                command = { type = secedeprovince which = GER value = 859 }
                                command = { type = secedeprovince which = GER value = 858 }
                                command = { type = secedeprovince which = GER value = 857 }
                                command = { type = secedeprovince which = GER value = 856 }
                                command = { type = secedeprovince which = GER value = 855 }
                                command = { type = secedeprovince which = GER value = 854 }
                                command = { type = secedeprovince which = GER value = 853 }
                                command = { type = secedeprovince which = GER value = 852 }
                                command = { type = secedeprovince which = GER value = 851 }
                                command = { type = secedeprovince which = GER value = 850 }
                                command = { type = secedeprovince which = GER value = 848 }
                                command = { type = secedeprovince which = GER value = 847 }
                                command = { type = secedeprovince which = GER value = 846 }
                                command = { type = secedeprovince which = GER value = 845 }
                                command = { type = secedeprovince which = GER value = 844 }
                                command = { type = secedeprovince which = GER value = 843 }
                                command = { type = secedeprovince which = GER value = 842 }
                                command = { type = secedeprovince which = GER value = 840 }
                                command = { type = secedeprovince which = GER value = 839 }
                                command = { type = secedeprovince which = GER value = 838 }
                                command = { type = secedeprovince which = GER value = 794 }
                                command = { type = secedeprovince which = GER value = 793 }
                                command = { type = secedeprovince which = GER value = 792 }
                                command = { type = secedeprovince which = GER value = 791 }
                                command = { type = secedeprovince which = GER value = 790 }
                                command = { type = secedeprovince which = GER value = 788 }
                                command = { type = secedeprovince which = GER value = 785 }
                                command = { type = secedeprovince which = GER value = 784 }
                                command = { type = secedeprovince which = GER value = 783 }
                                command = { type = secedeprovince which = GER value = 781 }
                                command = { type = secedeprovince which = GER value = 780 }
                                command = { type = secedeprovince which = GER value = 779 }
                                command = { type = secedeprovince which = GER value = 778 }
                                command = { type = secedeprovince which = GER value = 776 }
                                command = { type = secedeprovince which = GER value = 775 }
                                command = { type = secedeprovince which = GER value = 774 }
                                command = { type = secedeprovince which = GER value = 773 }
                                command = { type = secedeprovince which = GER value = 772 }
                                command = { type = secedeprovince which = GER value = 770 }
                                command = { type = secedeprovince which = GER value = 769 }
                                command = { type = secedeprovince which = GER value = 766 }
                                command = { type = secedeprovince which = GER value = 764 }
                                command = { type = secedeprovince which = GER value = 727 }
                                command = { type = secedeprovince which = GER value = 725 }
                                command = { type = secedeprovince which = GER value = 724 }
                                command = { type = secedeprovince which = GER value = 723 }
                                command = { type = secedeprovince which = GER value = 722 }
                                command = { type = secedeprovince which = GER value = 721 }
                                command = { type = secedeprovince which = GER value = 720 }
                                command = { type = secedeprovince which = GER value = 719 }
                                command = { type = secedeprovince which = GER value = 718 }
                                command = { type = secedeprovince which = GER value = 717 }
                                command = { type = secedeprovince which = GER value = 716 }
                                command = { type = secedeprovince which = GER value = 715 }
                                command = { type = secedeprovince which = GER value = 714 }
                                command = { type = secedeprovince which = GER value = 713 }
                                command = { type = secedeprovince which = GER value = 712 }
                                command = { type = secedeprovince which = GER value = 711 }
                                command = { type = secedeprovince which = GER value = 709 }
                                command = { type = secedeprovince which = GER value = 708 }
                                command = { type = secedeprovince which = GER value = 707 }
                                command = { type = secedeprovince which = GER value = 650 }
                                command = { type = secedeprovince which = GER value = 649 }
                                command = { type = secedeprovince which = GER value = 648 }
                                command = { type = secedeprovince which = GER value = 646 }
                                command = { type = secedeprovince which = GER value = 645 }
                                command = { type = secedeprovince which = GER value = 643 }
                                command = { type = secedeprovince which = GER value = 640 }
                                command = { type = secedeprovince which = GER value = 639 }
                                command = { type = secedeprovince which = GER value = 638 }
                                command = { type = secedeprovince which = GER value = 635 }
                                command = { type = secedeprovince which = GER value = 1374 }
                                command = { type = secedeprovince which = GER value = 1373 }
                                command = { type = secedeprovince which = GER value = 1372 }
                                command = { type = secedeprovince which = GER value = 1360 }
                                command = { type = secedeprovince which = GER value = 1359 }
                                command = { type = secedeprovince which = GER value = 1263 }
                                command = { type = secedeprovince which = GER value = 1262 }
                                command = { type = secedeprovince which = GER value = 1260 }
                                command = { type = secedeprovince which = GER value = 1259 }
                                command = { type = secedeprovince which = GER value = 1258 }
                                command = { type = secedeprovince which = GER value = 1257 }
                                command = { type = secedeprovince which = GER value = 1256 }
                                command = { type = secedeprovince which = GER value = 1255 }
                                command = { type = secedeprovince which = GER value = 1254 }
                                command = { type = secedeprovince which = GER value = 1252 }
                                command = { type = secedeprovince which = GER value = 1251 }
                                command = { type = secedeprovince which = GER value = 1250 }
                                command = { type = secedeprovince which = GER value = 1249 }
                                command = { type = secedeprovince which = GER value = 1248 }
                                command = { type = secedeprovince which = GER value = 1246 }
                                command = { type = secedeprovince which = GER value = 1245 }
                                command = { type = secedeprovince which = GER value = 1244 }
                                command = { type = secedeprovince which = GER value = 1243 }
                                command = { type = secedeprovince which = GER value = 1242 }
                                command = { type = secedeprovince which = GER value = 1241 }
                                command = { type = secedeprovince which = GER value = 1240 }
                                command = { type = secedeprovince which = GER value = 1239 }
                                command = { type = secedeprovince which = GER value = 1237 }
                                command = { type = secedeprovince which = GER value = 1236 }
                                command = { type = secedeprovince which = GER value = 1235 }
                                command = { type = secedeprovince which = GER value = 1234 }
                                command = { type = secedeprovince which = GER value = 1233 }
                                command = { type = secedeprovince which = GER value = 1232 }
                                command = { type = secedeprovince which = GER value = 1230 }
                                command = { type = secedeprovince which = GER value = 1229 }
                                command = { type = secedeprovince which = GER value = 1228 }
                                command = { type = secedeprovince which = GER value = 1227 }
                                command = { type = secedeprovince which = GER value = 1226 }
                                command = { type = secedeprovince which = GER value = 1225 }
                                command = { type = secedeprovince which = GER value = 1224 }
                                command = { type = secedeprovince which = GER value = 1223 }
                                command = { type = secedeprovince which = GER value = 1222 }
                                command = { type = secedeprovince which = GER value = 1220 }

#######if romania doesnt exist
                                command = { type = secedeprovince which = GER value = 761 }
                                command = { type = secedeprovince which = GER value = 868 }
                                command = { type = secedeprovince which = GER value = 757 }
                                command = { type = secedeprovince which = GER value = 736 }
                                command = { type = secedeprovince which = GER value = 739 }
                                command = { type = secedeprovince which = GER value = 731 }
                                command = { type = secedeprovince which = GER value = 759 }
                                command = { type = secedeprovince which = GER value = 760 }
                                command = { type = secedeprovince which = GER value = 768 }
                                command = { type = secedeprovince which = GER value = 728 }
                                command = { type = secedeprovince which = GER value = 729 }
                                command = { type = secedeprovince which = GER value = 730 }
                                command = { type = secedeprovince which = GER value = 629 }
                                command = { type = secedeprovince which = GER value = 767 }
                                command = { type = secedeprovince which = GER value = 763 }

#######if croatia doesnt exist
                                command = { type = secedeprovince which = GER value = 624 }
                                command = { type = secedeprovince which = GER value = 741 }
                                command = { type = secedeprovince which = GER value = 740 }
                                command = { type = secedeprovince which = GER value = 742 }
                                command = { type = secedeprovince which = GER value = 745 }
                                command = { type = secedeprovince which = GER value = 743 }
                                command = { type = secedeprovince which = GER value = 744 }
                                command = { type = secedeprovince which = GER value = 747 }

#######if yugoslavia doesnt exist
                                command = { type = secedeprovince which = GER value = 755 }
                                command = { type = secedeprovince which = GER value = 752 }
                                command = { type = secedeprovince which = GER value = 753 }
                                command = { type = secedeprovince which = GER value = 735 }
                                command = { type = secedeprovince which = GER value = 751 }
                                command = { type = secedeprovince which = GER value = 746 }
                                command = { type = secedeprovince which = GER value = 737 }
                                command = { type = secedeprovince which = GER value = 738 }
                                command = { type = secedeprovince which = GER value = 569 }
                                command = { type = secedeprovince which = GER value = 570 }

#######if finland doesnt exist
                                command = { type = secedeprovince which = GER value = 787 }
					  command = { type = secedeprovince which = GER value = 802 } #Mikkeli, missing in 1.05b
                                command = { type = secedeprovince which = GER value = 803 }
                                command = { type = secedeprovince which = GER value = 795 }
                                command = { type = secedeprovince which = GER value = 706 }
                                command = { type = secedeprovince which = GER value = 705 }
                                command = { type = secedeprovince which = GER value = 800 }
                                command = { type = secedeprovince which = GER value = 801 }
                                command = { type = secedeprovince which = GER value = 796 }
                                command = { type = secedeprovince which = GER value = 797 }
                                command = { type = secedeprovince which = GER value = 799 }
                                command = { type = secedeprovince which = GER value = 798 }
                                command = { type = secedeprovince which = GER value = 813 }
                                command = { type = secedeprovince which = GER value = 812 }
                                command = { type = secedeprovince which = GER value = 821 }
                                command = { type = secedeprovince which = GER value = 819 }
                                command = { type = secedeprovince which = GER value = 702 }

		            command = { type = secedeprovince which = GER value = 804 } # Russian Karelia + Kola to GERland
				command = { type = secedeprovince which = GER value = 805 }
				command = { type = secedeprovince which = GER value = 807 }
				command = { type = secedeprovince which = GER value = 811 }
				command = { type = secedeprovince which = GER value = 822 }
				command = { type = secedeprovince which = GER value = 834 }
				command = { type = secedeprovince which = GER value = 821 }

#########if sweden doesnt exist
	                          command = { type = secedeprovince which = GER value = 653 }
                                command = { type = secedeprovince which = GER value = 654 }
                                command = { type = secedeprovince which = GER value = 659 }
                                command = { type = secedeprovince which = GER value = 660 }
                                command = { type = secedeprovince which = GER value = 661 }
                                command = { type = secedeprovince which = GER value = 665 }
                                command = { type = secedeprovince which = GER value = 691 }
                                command = { type = secedeprovince which = GER value = 2160 }
                                command = { type = secedeprovince which = GER value = 692 }
                                command = { type = secedeprovince which = GER value = 695 }
                                command = { type = secedeprovince which = GER value = 690 }
                                command = { type = secedeprovince which = GER value = 689 }
                                command = { type = secedeprovince which = GER value = 675 }
                                command = { type = secedeprovince which = GER value = 681 }
                                command = { type = secedeprovince which = GER value = 685 }
                                command = { type = secedeprovince which = GER value = 682 }
                                command = { type = secedeprovince which = GER value = 818 }
                                command = { type = secedeprovince which = GER value = 698 }
                                command = { type = secedeprovince which = GER value = 697 }

#########if bulgaria doesnt exist
                                command = { type = secedeprovince which = GER value = 750 }
                                command = { type = secedeprovince which = GER value = 756 }
                                command = { type = secedeprovince which = GER value = 871 }
                                command = { type = secedeprovince which = GER value = 869 }

#########if hungary doesnt exist
                                command = { type = secedeprovince which = GER value = 622 }
                                command = { type = secedeprovince which = GER value = 634 }
                                command = { type = secedeprovince which = GER value = 633 }
                                command = { type = secedeprovince which = GER value = 630 }
                                command = { type = secedeprovince which = GER value = 627 }
                                command = { type = secedeprovince which = GER value = 626 }
					  command = { type = secedeprovince which = GER value = 726 } # Munkacs, missing in 1.05b

#########if slovakia doesnt exist
                                command = { type = secedeprovince which = GER value = 618 }
                                command = { type = secedeprovince which = GER value = 631 }
                                command = { type = secedeprovince which = GER value = 632 }
                                command = { type = secedeprovince which = GER value = 727 }

#########if persia doesnt exist
                                command = { type = secedeprovince which = GER value = 1358 }
                                command = { type = secedeprovince which = GER value = 1362 }
                                command = { type = secedeprovince which = GER value = 1357 }
                                command = { type = secedeprovince which = GER value = 1350 }
                                command = { type = secedeprovince which = GER value = 1413 }
                                command = { type = secedeprovince which = GER value = 1407 }
                                command = { type = secedeprovince which = GER value = 1410 }
                                command = { type = secedeprovince which = GER value = 1412 }
                                command = { type = secedeprovince which = GER value = 1361 }
                                command = { type = secedeprovince which = GER value = 1411 }
                                command = { type = secedeprovince which = GER value = 1364 }
                                command = { type = secedeprovince which = GER value = 1406 }
                                command = { type = secedeprovince which = GER value = 1356 }
                                command = { type = secedeprovince which = GER value = 1363 }
                                command = { type = secedeprovince which = GER value = 1414 }

		#########if manchukou doesn't exist
            command = { type = secedeprovince which = JAP value = 1557 }
            command = { type = secedeprovince which = JAP value = 1660 }
            command = { type = secedeprovince which = JAP value = 1661 }
            command = { type = secedeprovince which = JAP value = 1654 }
          # command = { type = secedeprovince which = JAP value = 1657 } # This is a Vladivostok province, not Manchukou      	      
            command = { type = secedeprovince which = JAP value = 1667 }
            command = { type = secedeprovince which = JAP value = 1559 }
            command = { type = secedeprovince which = JAP value = 1655 }

            command = { type = peace which = GER }	


            # Estonia
		command = { type = removecore which = 707 }
		
		# Latvia
		command = { type = removecore which = 708 }
		command = { type = removecore which = 709 }
		command = { type = removecore which = 712 }
		command = { type = removecore which = 713 }
		
		# Lithuania
		command = { type = removecore which = 714 }
		command = { type = removecore which = 715 }
		
		# Bessarabia
		command = { type = removecore which = 763 }
		command = { type = removecore which = 767 }
		
		# Claims on Finland
		command = { type = removecore which = 787 }
		command = { type = removecore which = 803 }
		command = { type = removecore which = 804 }
		command = { type = removecore which = 821 }



		# If Slovakia doesn't exist, it Slovakian provinces to Hungary
		# If both countries don't exist, provinces of both go to Germany 
            command = { type = secedeprovince which = HUN value = 618 }
            command = { type = secedeprovince which = HUN value = 631 }
            command = { type = secedeprovince which = HUN value = 632 }
            command = { type = secedeprovince which = HUN value = 727 }


            # In case Finland still exists:
		command = { type = secedeprovince which = FIN value = 787 }
		command = { type = secedeprovince which = FIN value = 803 }
		command = { type = secedeprovince which = FIN value = 804 } # Russian Karelia + Kola to Finland
		command = { type = secedeprovince which = FIN value = 805 }
		command = { type = secedeprovince which = FIN value = 807 }
		command = { type = secedeprovince which = FIN value = 811 }
		command = { type = secedeprovince which = FIN value = 822 }
		command = { type = secedeprovince which = FIN value = 834 }
		command = { type = secedeprovince which = FIN value = 821 }

		command = { type = peace which = FIN }
		
		# In case USSR is still at war with Sweden:
		command = { type = peace which = SWE }
		
		# Bessarabia back to Romania:
		command = { type = secedeprovince which = ROM value = 763 }
		command = { type = secedeprovince which = ROM value = 767 }
		command = { type = peace which = ROM  }

		command = { type = peace which = BUL }
		command = { type = peace which = PER }
		command = { type = peace which = SLO }



   
	      # Some to Japan:
		command = { type = secedeprovince which = JAP value = 1648 } # Northern Sakhalin
		command = { type = secedeprovince which = JAP value = 1847 } # Commodore
		command = { type = secedeprovince which = JAP value = 1843 } # Kamtjatka
		command = { type = secedeprovince which = JAP value = 1846 }

		# Added because because original event didn't make peace with them
		command = { type = peace which = JAP }
		command = { type = peace which = MAN }


		# If Germany is at war with Norway, and USSR has captured a German-occupied Norwegian province,
		# gives it back to Norway
		# If USSR has annexed Norway, secede provinces to Germany

		command = { type = secedeprovince which = GER value = 664 }
		command = { type = secedeprovince which = GER value = 663 }
		command = { type = secedeprovince which = GER value = 662 }
		command = { type = secedeprovince which = GER value = 671 }
		command = { type = secedeprovince which = GER value = 670 }
		command = { type = secedeprovince which = GER value = 668 }
		command = { type = secedeprovince which = GER value = 669 }
		command = { type = secedeprovince which = GER value = 674 }
		command = { type = secedeprovince which = GER value = 676 }
		command = { type = secedeprovince which = GER value = 680 }
		command = { type = secedeprovince which = GER value = 816 }
		command = { type = secedeprovince which = GER value = 817 }

		# Hand back provinces to Norway in case it still exists
		command = { type = control which = NOR value = 664 }
		command = { type = control which = NOR value = 663 }
		command = { type = control which = NOR value = 662 }
		command = { type = control which = NOR value = 671 }
		command = { type = control which = NOR value = 670 }
		command = { type = control which = NOR value = 668 }
		command = { type = control which = NOR value = 669 }
		command = { type = control which = NOR value = 674 }
		command = { type = control which = NOR value = 676 }
		command = { type = control which = NOR value = 680 }
		command = { type = control which = NOR value = 816 }
		command = { type = control which = NOR value = 817 }


		
		command = { type = dissent value = -15 }

		# Move the capital
		command = { type = capital which = 1522  } # Novosibirsk
		command = { type = province_keypoints which = 1522 value = 5 } 
		}
}
#############################################################################
#  The Bitter Peace - Japan is Axis (and thus get a bigger slice)
#############################################################################
event = { 
	id = 2646
	random = no
	country = SOV
	
	# Triggered by GER 2046
	
	name = "EVT_2625_NAME"
	desc = "EVT_2625_DESC"
	style = 0
	
	action_a = {
		name = "OK"
		
    
                      	# Secede the west of Urals to Germany
                                command = { type = secedeprovince which = GER value = 865 }
                                command = { type = secedeprovince which = GER value = 864 }
                                command = { type = secedeprovince which = GER value = 863 }
                                command = { type = secedeprovince which = GER value = 862 }
                                command = { type = secedeprovince which = GER value = 861 }
                                command = { type = secedeprovince which = GER value = 859 }
                                command = { type = secedeprovince which = GER value = 858 }
                                command = { type = secedeprovince which = GER value = 857 }
                                command = { type = secedeprovince which = GER value = 856 }
                                command = { type = secedeprovince which = GER value = 855 }
                                command = { type = secedeprovince which = GER value = 854 }
                                command = { type = secedeprovince which = GER value = 853 }
                                command = { type = secedeprovince which = GER value = 852 }
                                command = { type = secedeprovince which = GER value = 851 }
                                command = { type = secedeprovince which = GER value = 850 }
                                command = { type = secedeprovince which = GER value = 848 }
                                command = { type = secedeprovince which = GER value = 847 }
                                command = { type = secedeprovince which = GER value = 846 }
                                command = { type = secedeprovince which = GER value = 845 }
                                command = { type = secedeprovince which = GER value = 844 }
                                command = { type = secedeprovince which = GER value = 843 }
                                command = { type = secedeprovince which = GER value = 842 }
                                command = { type = secedeprovince which = GER value = 840 }
                                command = { type = secedeprovince which = GER value = 839 }
                                command = { type = secedeprovince which = GER value = 838 }
                                command = { type = secedeprovince which = GER value = 794 }
                                command = { type = secedeprovince which = GER value = 793 }
                                command = { type = secedeprovince which = GER value = 792 }
                                command = { type = secedeprovince which = GER value = 791 }
                                command = { type = secedeprovince which = GER value = 790 }
                                command = { type = secedeprovince which = GER value = 788 }
                                command = { type = secedeprovince which = GER value = 785 }
                                command = { type = secedeprovince which = GER value = 784 }
                                command = { type = secedeprovince which = GER value = 783 }
                                command = { type = secedeprovince which = GER value = 781 }
                                command = { type = secedeprovince which = GER value = 780 }
                                command = { type = secedeprovince which = GER value = 779 }
                                command = { type = secedeprovince which = GER value = 778 }
                                command = { type = secedeprovince which = GER value = 776 }
                                command = { type = secedeprovince which = GER value = 775 }
                                command = { type = secedeprovince which = GER value = 774 }
                                command = { type = secedeprovince which = GER value = 773 }
                                command = { type = secedeprovince which = GER value = 772 }
                                command = { type = secedeprovince which = GER value = 770 }
                                command = { type = secedeprovince which = GER value = 769 }
                                command = { type = secedeprovince which = GER value = 766 }
                                command = { type = secedeprovince which = GER value = 764 }
                                command = { type = secedeprovince which = GER value = 727 }
                                command = { type = secedeprovince which = GER value = 725 }
                                command = { type = secedeprovince which = GER value = 724 }
                                command = { type = secedeprovince which = GER value = 723 }
                                command = { type = secedeprovince which = GER value = 722 }
                                command = { type = secedeprovince which = GER value = 721 }
                                command = { type = secedeprovince which = GER value = 720 }
                                command = { type = secedeprovince which = GER value = 719 }
                                command = { type = secedeprovince which = GER value = 718 }
                                command = { type = secedeprovince which = GER value = 717 }
                                command = { type = secedeprovince which = GER value = 716 }
                                command = { type = secedeprovince which = GER value = 715 }
                                command = { type = secedeprovince which = GER value = 714 }
                                command = { type = secedeprovince which = GER value = 713 }
                                command = { type = secedeprovince which = GER value = 712 }
                                command = { type = secedeprovince which = GER value = 711 }
                                command = { type = secedeprovince which = GER value = 709 }
                                command = { type = secedeprovince which = GER value = 708 }
                                command = { type = secedeprovince which = GER value = 707 }
                                command = { type = secedeprovince which = GER value = 650 }
                                command = { type = secedeprovince which = GER value = 649 }
                                command = { type = secedeprovince which = GER value = 648 }
                                command = { type = secedeprovince which = GER value = 646 }
                                command = { type = secedeprovince which = GER value = 645 }
                                command = { type = secedeprovince which = GER value = 643 }
                                command = { type = secedeprovince which = GER value = 640 }
                                command = { type = secedeprovince which = GER value = 639 }
                                command = { type = secedeprovince which = GER value = 638 }
                                command = { type = secedeprovince which = GER value = 635 }
                                command = { type = secedeprovince which = GER value = 1374 }
                                command = { type = secedeprovince which = GER value = 1373 }
                                command = { type = secedeprovince which = GER value = 1372 }
                                command = { type = secedeprovince which = GER value = 1360 }
                                command = { type = secedeprovince which = GER value = 1359 }
                                command = { type = secedeprovince which = GER value = 1263 }
                                command = { type = secedeprovince which = GER value = 1262 }
                                command = { type = secedeprovince which = GER value = 1260 }
                                command = { type = secedeprovince which = GER value = 1259 }
                                command = { type = secedeprovince which = GER value = 1258 }
                                command = { type = secedeprovince which = GER value = 1257 }
                                command = { type = secedeprovince which = GER value = 1256 }
                                command = { type = secedeprovince which = GER value = 1255 }
                                command = { type = secedeprovince which = GER value = 1254 }
                                command = { type = secedeprovince which = GER value = 1252 }
                                command = { type = secedeprovince which = GER value = 1251 }
                                command = { type = secedeprovince which = GER value = 1250 }
                                command = { type = secedeprovince which = GER value = 1249 }
                                command = { type = secedeprovince which = GER value = 1248 }
                                command = { type = secedeprovince which = GER value = 1246 }
                                command = { type = secedeprovince which = GER value = 1245 }
                                command = { type = secedeprovince which = GER value = 1244 }
                                command = { type = secedeprovince which = GER value = 1243 }
                                command = { type = secedeprovince which = GER value = 1242 }
                                command = { type = secedeprovince which = GER value = 1241 }
                                command = { type = secedeprovince which = GER value = 1240 }
                                command = { type = secedeprovince which = GER value = 1239 }
                                command = { type = secedeprovince which = GER value = 1237 }
                                command = { type = secedeprovince which = GER value = 1236 }
                                command = { type = secedeprovince which = GER value = 1235 }
                                command = { type = secedeprovince which = GER value = 1234 }
                                command = { type = secedeprovince which = GER value = 1233 }
                                command = { type = secedeprovince which = GER value = 1232 }
                                command = { type = secedeprovince which = GER value = 1230 }
                                command = { type = secedeprovince which = GER value = 1229 }
                                command = { type = secedeprovince which = GER value = 1228 }
                                command = { type = secedeprovince which = GER value = 1227 }
                                command = { type = secedeprovince which = GER value = 1226 }
                                command = { type = secedeprovince which = GER value = 1225 }
                                command = { type = secedeprovince which = GER value = 1224 }
                                command = { type = secedeprovince which = GER value = 1223 }
                                command = { type = secedeprovince which = GER value = 1222 }
                                command = { type = secedeprovince which = GER value = 1220 }

#######if romania doesnt exist
                                command = { type = secedeprovince which = GER value = 761 }
                                command = { type = secedeprovince which = GER value = 868 }
                                command = { type = secedeprovince which = GER value = 757 }
                                command = { type = secedeprovince which = GER value = 736 }
                                command = { type = secedeprovince which = GER value = 739 }
                                command = { type = secedeprovince which = GER value = 731 }
                                command = { type = secedeprovince which = GER value = 759 }
                                command = { type = secedeprovince which = GER value = 760 }
                                command = { type = secedeprovince which = GER value = 768 }
                                command = { type = secedeprovince which = GER value = 728 }
                                command = { type = secedeprovince which = GER value = 729 }
                                command = { type = secedeprovince which = GER value = 730 }
                                command = { type = secedeprovince which = GER value = 629 }
                                command = { type = secedeprovince which = GER value = 767 }
                                command = { type = secedeprovince which = GER value = 763 }

#######if finland doesnt exist
                                command = { type = secedeprovince which = GER value = 787 }
                                command = { type = secedeprovince which = GER value = 803 }
  				command = { type = secedeprovince which = GER value = 802 } #Mikkeli, missing in 1.05b
                                command = { type = secedeprovince which = GER value = 795 }
                                command = { type = secedeprovince which = GER value = 706 }
                                command = { type = secedeprovince which = GER value = 705 }
                                command = { type = secedeprovince which = GER value = 800 }
                                command = { type = secedeprovince which = GER value = 801 }
                                command = { type = secedeprovince which = GER value = 796 }
                                command = { type = secedeprovince which = GER value = 797 }
                                command = { type = secedeprovince which = GER value = 799 }
                                command = { type = secedeprovince which = GER value = 798 }
                                command = { type = secedeprovince which = GER value = 813 }
                                command = { type = secedeprovince which = GER value = 812 }
                                command = { type = secedeprovince which = GER value = 821 }
                                command = { type = secedeprovince which = GER value = 819 }
                                command = { type = secedeprovince which = GER value = 702 }
                        	command = { type = secedeprovince which = GER value = 804 } # Russian Karelia + Kola to GERland
   				command = { type = secedeprovince which = GER value = 805 }
				command = { type = secedeprovince which = GER value = 807 }
				command = { type = secedeprovince which = GER value = 811 }
				command = { type = secedeprovince which = GER value = 822 }
				command = { type = secedeprovince which = GER value = 834 }
				command = { type = secedeprovince which = GER value = 821 }

#######if croatia doesnt exist
                                command = { type = secedeprovince which = GER value = 624 }
                                command = { type = secedeprovince which = GER value = 741 }
                                command = { type = secedeprovince which = GER value = 740 }
                                command = { type = secedeprovince which = GER value = 742 }
                                command = { type = secedeprovince which = GER value = 745 }
                                command = { type = secedeprovince which = GER value = 743 }
                                command = { type = secedeprovince which = GER value = 744 }
                                command = { type = secedeprovince which = GER value = 747 }

#######if yugoslavia doesnt exist
                                command = { type = secedeprovince which = GER value = 755 }
                                command = { type = secedeprovince which = GER value = 752 }
                                command = { type = secedeprovince which = GER value = 753 }
                                command = { type = secedeprovince which = GER value = 735 }
                                command = { type = secedeprovince which = GER value = 751 }
                                command = { type = secedeprovince which = GER value = 746 }
                                command = { type = secedeprovince which = GER value = 737 }
                                command = { type = secedeprovince which = GER value = 738 }
                                command = { type = secedeprovince which = GER value = 569 }
                                command = { type = secedeprovince which = GER value = 570 }

#########if sweden doesnt exist
                                command = { type = secedeprovince which = GER value = 653 }
                                command = { type = secedeprovince which = GER value = 654 }
                                command = { type = secedeprovince which = GER value = 659 }
                                command = { type = secedeprovince which = GER value = 660 }
                                command = { type = secedeprovince which = GER value = 661 }
                                command = { type = secedeprovince which = GER value = 665 }
                                command = { type = secedeprovince which = GER value = 691 }
                                command = { type = secedeprovince which = GER value = 2160 }
                                command = { type = secedeprovince which = GER value = 692 }
                                command = { type = secedeprovince which = GER value = 695 }
                                command = { type = secedeprovince which = GER value = 690 }
                                command = { type = secedeprovince which = GER value = 689 }
                                command = { type = secedeprovince which = GER value = 675 }
                                command = { type = secedeprovince which = GER value = 681 }
                                command = { type = secedeprovince which = GER value = 685 }
                                command = { type = secedeprovince which = GER value = 682 }
                                command = { type = secedeprovince which = GER value = 818 }
                                command = { type = secedeprovince which = GER value = 698 }
                                command = { type = secedeprovince which = GER value = 697 }

#########if bulgaria doesnt exist
                                command = { type = secedeprovince which = GER value = 750 }
                                command = { type = secedeprovince which = GER value = 756 }
                                command = { type = secedeprovince which = GER value = 871 }
                                command = { type = secedeprovince which = GER value = 869 }

#########if hungary doesnt exist
                                command = { type = secedeprovince which = GER value = 622 }
                                command = { type = secedeprovince which = GER value = 634 }
                                command = { type = secedeprovince which = GER value = 633 }
                                command = { type = secedeprovince which = GER value = 630 }
                                command = { type = secedeprovince which = GER value = 627 }
                                command = { type = secedeprovince which = GER value = 626 }
				command = { type = secedeprovince which = GER value = 726 } # Munkacs, missing in 1.05b

#########if slovakia doesnt exist
                                command = { type = secedeprovince which = GER value = 618 }
                                command = { type = secedeprovince which = GER value = 631 }
                                command = { type = secedeprovince which = GER value = 632 }
                                command = { type = secedeprovince which = GER value = 727 }

#########if persia doesnt exist
                                command = { type = secedeprovince which = GER value = 1358 }
                                command = { type = secedeprovince which = GER value = 1362 }
                                command = { type = secedeprovince which = GER value = 1357 }
                                command = { type = secedeprovince which = GER value = 1350 }
                                command = { type = secedeprovince which = GER value = 1413 }
                                command = { type = secedeprovince which = GER value = 1407 }
                                command = { type = secedeprovince which = GER value = 1410 }
                                command = { type = secedeprovince which = GER value = 1412 }
                                command = { type = secedeprovince which = GER value = 1361 }
                                command = { type = secedeprovince which = GER value = 1411 }
                                command = { type = secedeprovince which = GER value = 1364 }
                                command = { type = secedeprovince which = GER value = 1406 }
                                command = { type = secedeprovince which = GER value = 1356 }
                                command = { type = secedeprovince which = GER value = 1363 }
                                command = { type = secedeprovince which = GER value = 1414 }

#########if manchukou doesnt exist
                                command = { type = secedeprovince which = JAP value = 1557 }
                                command = { type = secedeprovince which = JAP value = 1660 }
                                command = { type = secedeprovince which = JAP value = 1661 }
                                command = { type = secedeprovince which = JAP value = 1654 }
                                command = { type = secedeprovince which = JAP value = 1667 }
                                command = { type = secedeprovince which = JAP value = 1559 }
                                command = { type = secedeprovince which = JAP value = 1655 }

                command = { type = peace which = GER }	


          	# Estonia
		command = { type = removecore which = 707 }
		
		# Latvia
		command = { type = removecore which = 708 }
		command = { type = removecore which = 709 }
		command = { type = removecore which = 712 }
		command = { type = removecore which = 713 }
		
		# Lithuania
		command = { type = removecore which = 714 }
		command = { type = removecore which = 715 }
		
		# Bessarabia
		command = { type = removecore which = 763 }
		command = { type = removecore which = 767 }
		
		# Claims on Finland
		command = { type = removecore which = 787 }
		command = { type = removecore which = 803 }
		command = { type = removecore which = 804 }
		command = { type = removecore which = 821 }

            # In case Finland still exists:
		command = { type = secedeprovince which = FIN value = 787 }
		command = { type = secedeprovince which = FIN value = 803 }
		command = { type = secedeprovince which = FIN value = 804 } # Russian Karelia + Kola to Finland
		command = { type = secedeprovince which = FIN value = 805 }
		command = { type = secedeprovince which = FIN value = 807 }
		command = { type = secedeprovince which = FIN value = 811 }
		command = { type = secedeprovince which = FIN value = 822 }
		command = { type = secedeprovince which = FIN value = 834 }
		command = { type = secedeprovince which = FIN value = 821 }

		command = { type = peace which = FIN }
		
		# In case USSR is still at war with Sweden:
		command = { type = peace which = SWE }
		
		# Bessarabia back to Romania:
		command = { type = secedeprovince which = ROM value = 763 }
		command = { type = secedeprovince which = ROM value = 767 }
		command = { type = peace which = ROM  }

		command = { type = peace which = BUL }
		command = { type = peace which = PER }
		command = { type = peace which = SLO }

		
		# Japanese Slice of the Cake:
		command = { type = secedeprovince which = JAP value = 1648 } # Northern Sakhalin
		command = { type = secedeprovince which = JAP value = 1847 } # Commodore
		command = { type = secedeprovince which = JAP value = 1843 } # Kamtjatka
		command = { type = secedeprovince which = JAP value = 1846 } # Kronoki
		
		command = { type = secedeprovince which = JAP value = 1651 } # Vanino
		command = { type = secedeprovince which = JAP value = 1652 } # Ulunga
		command = { type = secedeprovince which = JAP value = 1653 } # Dalnegorsk
		command = { type = secedeprovince which = JAP value = 1656 } # Spassk Dalnij
		command = { type = secedeprovince which = JAP value = 1657 } # Dalneretjensk
		command = { type = secedeprovince which = JAP value = 1658 } # Chabarovsk
		command = { type = secedeprovince which = JAP value = 1662 } # Nachodka
		command = { type = secedeprovince which = JAP value = 1663 } # Vladivostok

		# Even bigger slice for Japan
		command = { type = secedeprovince which = JAP value = 1549 }
		command = { type = secedeprovince which = JAP value = 1550 }
		command = { type = secedeprovince which = JAP value = 1645 }
		command = { type = secedeprovince which = JAP value = 1659 }
		command = { type = secedeprovince which = JAP value = 1628 }
		command = { type = secedeprovince which = JAP value = 1644 }
		command = { type = secedeprovince which = JAP value = 1631 }
		command = { type = secedeprovince which = JAP value = 1641 }
		command = { type = secedeprovince which = JAP value = 1640 }
		command = { type = secedeprovince which = JAP value = 1855 }
		command = { type = secedeprovince which = JAP value = 1850 }
		command = { type = secedeprovince which = JAP value = 1639 }
		command = { type = secedeprovince which = JAP value = 1638 }
		command = { type = secedeprovince which = JAP value = 1637 }
		command = { type = secedeprovince which = JAP value = 1636 }
		command = { type = secedeprovince which = JAP value = 1632 }
		command = { type = secedeprovince which = JAP value = 1633 }
		command = { type = secedeprovince which = JAP value = 1552 }
		command = { type = secedeprovince which = JAP value = 1553 }
		command = { type = secedeprovince which = JAP value = 1533 }
		command = { type = secedeprovince which = JAP value = 1630 }
		command = { type = secedeprovince which = JAP value = 1634 }

		# Added because because original event didn't make peace with them
		command = { type = peace which = JAP }
		command = { type = peace which = MAN }

# If Germany is at war with Norway, and USSR has captured a German-occupied Norwegian province,
# gives it back to Norway 
# If USSR has annexed Norway, secede provinces to Germany

		command = { type = secedeprovince which = GER value = 664 }
		command = { type = secedeprovince which = GER value = 663 }
		command = { type = secedeprovince which = GER value = 662 }
		command = { type = secedeprovince which = GER value = 671 }
		command = { type = secedeprovince which = GER value = 670 }
		command = { type = secedeprovince which = GER value = 668 }
		command = { type = secedeprovince which = GER value = 669 }
		command = { type = secedeprovince which = GER value = 674 }
		command = { type = secedeprovince which = GER value = 676 }
		command = { type = secedeprovince which = GER value = 680 }
		command = { type = secedeprovince which = GER value = 816 }
		command = { type = secedeprovince which = GER value = 817 }

		# Hand back provinces to Norway in case it still exists
		command = { type = control which = NOR value = 664 }
		command = { type = control which = NOR value = 663 }
		command = { type = control which = NOR value = 662 }
		command = { type = control which = NOR value = 671 }
		command = { type = control which = NOR value = 670 }
		command = { type = control which = NOR value = 668 }
		command = { type = control which = NOR value = 669 }
		command = { type = control which = NOR value = 674 }
		command = { type = control which = NOR value = 676 }
		command = { type = control which = NOR value = 680 }
		command = { type = control which = NOR value = 816 }
		command = { type = control which = NOR value = 817 }

		command = { type = dissent value = -15 }
		# Move the capital
		command = { type = capital which = 1522  } # Novosibirsk
		command = { type = province_keypoints which = 1522 value = 5 }
		
	}
}
#########################################################################
#  A Lend-Lease Shipment Arrives from the USA
#########################################################################
event = {
	id = 2626
	random = no
	country = SOV
	persistent = yes
	# Triggered by USA 3703. NOTE: May be triggered several times.
	
	name = "EVT_2626_NAME"
	desc = "EVT_2626_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Excellent!
		command = { type = supplies value = 10000 }
		command = { type = rubberpool value = 500 }
		command = { type = industry which = 1535 value = 10 }#Irkutsk
		command = { type = industry which = 1393 value = 10 }#Omsk
		command = { type = industry which = 1522 value = 10 }#Novosibirsk
	}
}


#########################################################################
#  Germany Invades Poland without our Blessing!
#########################################################################
event = { 
	id = 2650
	random = no
	country = SOV
	
	# Triggered by GER 2050
	
	name = "EVT_2650_NAME"
	desc = "EVT_2650_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2650A" # We shall never forget this!
		command = { type = dissent value = 10 }
		#	command = { type = hate which = GER value = 15 } #TODO_add the commands and system#
	}
	action_b = {
		name = "ACTIONNAME2650B" # This means war!
		command = { type = war which = GER }
	}
}